package com.cskaoyan.servlet;

import com.cskaoyan.bean.common.BaseRespVo;
import com.cskaoyan.service.RoleService;
import com.cskaoyan.service.RoleServiceImpl;

import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;


@WebServlet("/admin/role/*")
public class AdminRoleServlet extends WdBaseServlet {
    RoleService roleService= new RoleServiceImpl();

    private BaseRespVo options (HttpServletRequest request, HttpServletResponse response){

        BaseRespVo baseRespVo = roleService.options();

        return baseRespVo;
    }
}
